
;;======================================================
;                   [MAIN FILE AREA]
; this section contains config that belongs to this
; very file and won't be moved to another file.
; this section contains mainly global & per bar settings
;;======================================================

;; Global WM Settings

[global/wm]
; WM margin settings
margin-top = 0
margin-bottom = 0

;;======================================================

;; File Inclusion Area
include-file = ~/.config/polybar/Shirin/colors.ini
include-file = ~/.config/polybar/Shirin/modules.ini
include-file = ~/.config/polybar/Shirin/custom.ini

;;======================================================

;; Bar Settings

[bar/main]

; is the panel in bottom side of screen?
bottom = false

; fixed center, idk wtf is this
fixed-center = true

; bar size, can be percentage or pixelsize
width = 100%
height = 20

; bar offset from edge of screen, can be percentage or pixelsize
offset-x = 0
offset-y = 0

; bar base color (BG & FG), use ARGB HEX value(e.g. #bbff1023)
background = ${color.background}
foreground = ${color.foreground}

; like rounded corner? edit this
radius-top = 0.0
radius-bottom = 0.0

; underline, idk what this thing do
underline-size = 0
underline-color = ${color.foreground}

; like bordered bar? edit this
border-size = 0
border-color = ${color.color6}

; padding module from bar edge
padding = 2

; space margin for each module
module-margin-left = 0
module-margin-right = 0

;;=======================================================

;; Font Settings
; syntax: font-x = <font-name>:pixelsize=<size>;<vertical-offset>
; note if you use spaced name, place config inside double aposthrope
; e.g. font-0 = "Fira Code:pixelsize=10;2"

font-0 = material:pixelsize=10;2
font-1 = iosevka:pixelsize=10;2
font-2 = Noto Sans CJK JP:style=Regular:pixelsize=10;2
font-3 = joypixels:pixelsize=10:style=Regular:antialias=true:scale=12;2

;;=======================================================

;; Module placement

modules-left = launcher workspaces title
modules-center = 
modules-right = music pulseaudio backlight battery date sysmenu

;;=======================================================

;; System Tray Config

; tray position, can be left, right, center, or none
tray-position = left

; detached tray, tbh idk what this do
tray-detached = true

; Tray icon max size
tray-maxsize = 16

; tray offset from bar edge/center point
tray-offset-x = 310 
tray-offset-y = 0

; padding tray icon
tray-padding = 1

;;======================================================

;; App Settings
; i don't know much about this setting so i'll just include
; screen change reload settings
screenchange-reload = true

;;======================================================

; second bar settings for testing
;[bar/traybar]

;inherit = bar/testbar

;background = ${color.background}

;bottom = true
;width = 100%:-20

;offset-x = 10
;offset-y = 5

;;======================================================
; EOF

